package com.jy.rhin.model.body.jiankangtj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * 口腔、咽喉和牙齿章节
 *
 * @author shenguangyang
 */
@Data
public class KouQiang {

    /**
     * 口唇外观检查结果代码
     */
    @XPath(path = "/entry/observation/code[@code='DE04.10.106.00'][@codeSystem='2.16.156.10011.2.2.1']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_106_00))
    CodeObject kouChun;

    /**
     * 齿列类别代码
     */
    @XPath(path = "/entry/observation/code[@code='DE04.10.016.00'][@codeSystem='2.16.156.10011.2.2.1']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_016_00))
    CodeObject chiLie;

    /**
     * 齿列描述
     */
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.017.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_017_00))
    String chiLieMS;

    /**
     * 咽部
     */
    @XPath(path = "/entry/observation/code[@code='DE04.10.214.00'][@codeSystem='2.16.156.10011.2.2.1']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_214_00))
    CodeObject yanBu;
}
